<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

   {include file="layout/mpid" /}
    <div class="form-group">
        <label for="c-group_name" class="control-label col-xs-12 col-sm-2">{:__('Group_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-group_name" data-rule="required" class="form-control" name="row[group_name]" type="text" value="{$row.group_name}">
        </div>
    </div>

    <div class="form-group">
        <label for="c-group_content" class="control-label col-xs-12 col-sm-2">{:__('专题内容')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-group_content" data-rule="required" class="form-control editor" rows="5" name="row[group_content]" cols="50" maxlength="800" placeholder="请输入主题内容">{$row.group_content}</textarea>
        </div>
    </div>

    <div class="form-group">
        <label for="c-group_image" class="control-label col-xs-12 col-sm-2">{:__('Group_image')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-group_image" data-rule="required" class="form-control" size="50" name="row[group_image]" type="text" value="{$row.group_image}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-group_image" class="btn btn-danger plupload" data-input-id="c-group_image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-group_image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-group_image" class="btn btn-primary fachoose" data-input-id="c-group_image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-group_image"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-group_image"></ul>
        </div>
    </div>
    <div class="form-group">
        <label for="c-card_ids" class="control-label col-xs-12 col-sm-2">{:__('Card_ids')}:</label>
        <div class="col-xs-12 col-sm-8">
			<input id="c-card_ids"  class="form-control" name="row[card_ids]" type="text"  value="{$row.card_ids}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-weigh" class="control-label col-xs-12 col-sm-2">{:__('Weigh')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-weigh" data-rule="required" class="form-control" name="row[weigh]" type="number" value="{$row.weigh}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-status" class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="statusList" item="vo"}
            <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="$row.status"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
